package com.itany.mapper;


import com.itany.pojo.Examine;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 图书信息审核
 */
public interface ExamineMapper {

    /**
     * 添加审核信息
     */
    void insertExamine(Examine examine);

    /**
     * 查找所有审核信息
     */
    List<Examine> selectAll(@Param("booknameKey") String booknameKey,@Param("ISBNKey") String ISBNKey,@Param("supplierId") Integer supplierId);

    /**
     * 修改审核信息
     */
    void updateExamine(@Param("examineStatus")Integer examineStatus,@Param("examineDetail") String examineDetail,
                       @Param("title") String title ,@Param("examineId") Integer examineId);

    /**
     * 根据id选择数据
     */
    Examine selectById(Integer id);
}
